<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    {if ($row['send_type']==1&&$acct_id==0)||($row['send_type']==2&&$acct_id>0)||$row['status']==0}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="statusList" item="vo"}
                {if $key<"0.5"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio"
                        value="{$key}" {in name="key" value="$row.status" }checked{/in} {if $row.status!=0} disabled{/if}/> {$vo}</label>
                {/if}
                {/foreach}
            </div>
        </div>
    </div>
    {/if}

    {if $check_stock===false }
     <div class="form-group" data-favisible="status=0.1">
        <label class="control-label col-xs-12 col-sm-2">{:__('发货备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_remark" class="form-control" name="row[send_remark]" type="text" value="{$row.send_remark|htmlentities}">
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('审核原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-msg" class="form-control" name="row[msg]" type="text" value="{$row.msg|htmlentities}">
        </div>
    </div>
    {if $row.status=='0' }
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
    {/if}
</form>